//该文件专门用于创建整个应用的路由器
import VueRouter from "vue-router";
import UserLogin from "@/components/UserLogin.vue";
import RepairBook from "@/components/RepairBook.vue";
 import qualityMain from "@/components/qualityMain.vue";
import controlPlan from "@/components/controlPlan.vue";
import controlTesting from "@/components/controlTesting.vue";
import equipmentMaintain from "@/components/equipmentMaintain.vue";
import pokayoke from "@/components/pokayoke.vue";
import operateGuideBook from "@/components/operateGuideBook.vue";
import componentGuideBook from "@/components/componentGuideBook.vue";
import baseInformation from "@/components/baseInformation.vue";
import cleanliness from "@/components/cleanliness.vue";
import systemDocument from "@/components/systemDocument.vue";
import changeModel from "@/components/changeModel.vue";
import jobDescription from "@/components/jobDescription.vue";
import changeModelNew from "@/components/changeModelNew.vue";
import torqueManage from "@/components/torqueManage.vue";
import stockTest from "@/components/stockTest.vue";
import equipmentManagement from "@/components/equipmentManagement.vue";
import assemblyEquipment from "@/components/assemblyEquipment.vue";
import suspectProduct from "@/components/suspectProduct.vue";
import workGuide from "@/components/workGuide.vue";
import errorProofing from "@/components/errorProofing.vue";
import toExamineProblem from "@/components/toExamineProblem.vue";
import op10Problem from "@/components/phoneProblem/op10Problem.vue";
import phoneLogin from "@/components/phoneProblem/phoneLogin.vue";
import macTestCon from "@/components/macTestCon.vue";
import maturityManage from "@/components/maturityManage.vue";
import workExceptionRemoval from "@/components/workExceptionRemoval.vue";
import problemManagementNew from "@/components/problemManagementNew.vue";
import dateBack from "@/components/dateBack.vue";
import goodProductConditions from "@/components/goodProductConditions.vue";
import workProject from "@/components/utils/workProject.vue";
import russianManagementMain from "@/components/russianManagementMain.vue";
//创建并暴露一个路由器
export default new VueRouter({
    routes:[
        {
            path:'/',
            component:qualityMain
        },
        {
           path:'/UserLogin',
            component:UserLogin
        },
        {
            path:'/RepairBook',
            component:RepairBook
        },
        {
            path:'/controlPlan',
            component:controlPlan
        },
        //频次检验板块的路由
        {
            path:'/controlTesting',
            component:controlTesting
        },
        //质量问题管理的路由
        {
            path:'/problemManagementNew',
            component:problemManagementNew
        },
        //装配设备管理
        {
            path:'/equipmentMaintain',
            component:equipmentMaintain
        },
        //防错管理
        {
            path:'/pokayoke',
            component:pokayoke
        },
        //车间工序的操作要领书管理
        {
            path:'/operateGuideBook',
            component:operateGuideBook
        },
        //入厂检验、三不检验要领书等
        {
            path:'/componentGuideBook',
            component:componentGuideBook
        },
        //基础信息维护
        {
            path:'/baseInformation',
            component:baseInformation
        },
        //清洁度控制管理平台
        {
            path:'/cleanliness',
            component:cleanliness
        },
        //体系文件
        {
            path:'/systemDocument',
            component:systemDocument
        },
        //低频作业指导书
        {
            path:'/changeModel',
            component:changeModel
        },
        //低频作业指导书（新）
        {
            path:'/changeModelNew',
            component:changeModelNew
        },
        //工作说明书
        {
            path:'/jobDescription',
            component:jobDescription
        },
        //扭矩管理
        {
            path:'/torqueManage',
            component:torqueManage
        },
        //入厂检验管理
        {
            path:'/stockTest',
            component:stockTest
        },
        //工装管理
        {
            path:'/equipmentManagement',
            component:equipmentManagement
        },
        //装配设备管理
        {
            path:'/assemblyEquipment',
            component:assemblyEquipment
        },
        //可疑品业务
        {
            path:'/suspectProduct',
            component:suspectProduct
        },
        //标准作业引导系统
        {
            path:'/workGuide',
            component:workGuide
        },
        //防错管理（新）
        {
            path:'/errorProofing',
            component:errorProofing
        },
        //体系管理系统
        {
            path:'/toExamineProblem',
            component:toExamineProblem
        },
        //装配设备OP10序的设备登记页面
        {
            path:'/op10Problem',
            component:op10Problem
        },
        //手机页面的登录入口
        {
            path:'/phoneLogin',
            component:phoneLogin
        },
        //过程能力监视系统
        {
            path:'/macTestCon',
            component:macTestCon
        },
        //成熟度提升板块
        {
            path:'/maturityManage',
            component:maturityManage
        },
        //体系业务化-报警解除
        {
            path:'/workExceptionRemoval',
            component:workExceptionRemoval
        },
        //叫料系统
        {
            path:'/dateBack',
            component:dateBack
        },
        //良品条件板块
        {
            path:'/goodProductConditions',
            component:goodProductConditions
        },
        //临时工作
        {
            path:'/workProject',
            component:workProject
        },
        //主页
        {
            path:'/russianManagementMain',
            component:russianManagementMain
        }
    ]
})
